<template>
  <div class="dashboard-container">
    <div class="header">
      <div class="header-content input_diy">
      <el-input v-model="input" placeholder="搜索职位，公司" style="margin-top: 25px;" class="input-with-select">
       
      </el-input>
      </div>
    </div>
    <div class="bottom">
      <div class="bottom-content">
         <el-scrollbar wrap-class="scrollbar-full" view-class="view-scrollbar-full" style="height: 100%;">
        <div class="left">
          
            <card></card>
         
        </div>
        </el-scrollbar>
        <div class="right el-card">
          <right></right>
        </div>
      </div>
    </div>
   
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import card from './components/card.vue'
import right from './components/right.vue'
export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  },
  components:{
    card,right
  },
  data () {
    return {
      input: ''
    }
  }
}
</script>

<style lang="scss" scoped>
.dashboard-container {
  margin-top: 50px;
  height: calc(100vh - 52px);
 .header {
    position: sticky;
    top: 49px;
    left: 0;
    right: 0;
   
    height: 110px;
    .header-content{
      width:63%;
      margin:0 auto;
      height: 100%;
      
     
    }
  }
  .bottom{
    width:100%;
    margin:0 auto;
    height: calc(100% - 110px);
    .bottom-content{
      height: 100%;
        width:63%;
      margin:0 auto;
      display: flex;
      .left{
        width: 358px;
        height: 100%;
        overflow: hidden;
       
        
      }
      .right{
        width: calc(100% - 300px);
        height: 99%;
       background: #fff;
    border-radius: 16px;
    padding-bottom: 6px;
    overflow: hidden;
    margin-left: 10px;
      }

    }
  }
 
}

.scrollbar-full {
    height: 100vh;
    overflow-x: hidden;
}

.view-scrollbar-full {
    height: 1080rem;
}

::v-deep .el-scrollbar__wrap {
    overflow: scroll;
    height: 100%;
    overflow-x: hidden;
}

::v-deep .el-input__inner {
    -webkit-appearance: none;
    background-color: #FFF;
    background-image: none;
    border-radius: 10px;
    border: 1px solid #00bebd;;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 60px;
    line-height: 60px;
    outline: 0;
    padding: 0 15px;
    -webkit-transition: border-color .2scubic-bezier(.645,.045,.355,1);
    transition: border-color .2scubic-bezier(.645,.045,.355,1);
    width: 100%;
}
 .el-select .el-input {
    width: 130px;
  }
  .input-with-select .el-input-group__prepend {
    background-color: #fff;
  }

 
.input_diy ::v-deep  input::-webkit-input-placeholder{
  -webkit-text-fill-color:  rgba(0, 0, 0,0.5);
  font-weight: normal;
  font-size: 16px;
  color: #414a60;

}


</style>
